#include "../Headers/inherit_test.h"   
base_public::base_public(int val){
    this->val = val;
}
base_public::~base_public(){

}
inherit_public::inherit_public(int val):base_public(val){

}
inherit_public::~inherit_public(){

}

inherit_protected::inherit_protected(int val):base_public(val){
    cout <<val<<endl;
}
inherit_protected::~inherit_protected(){
    cout <<val<<endl;
}
inherit_private::inherit_private(int val):base_public(val){
     cout <<val<<endl;
}
inherit_private::~inherit_private(){
     cout <<val<<endl;
}

